/* 移动端适配样式 */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #f7f8fa;
}

a {
  color: #333;
  text-decoration: none;
}

/* 禁止长按菜单 */
* {
  -webkit-touch-callout: none;
  user-select: none;
}

/* 允许长按输入框选择内容 */
input, textarea {
  user-select: auto;
}

/* 解决iOS点击延迟 */
html, body {
  touch-action: manipulation;
}

/* 适配iPhone X 刘海屏 */
@supports (padding-bottom: constant(safe-area-inset-bottom)) {
  .safe-area-bottom {
    padding-bottom: constant(safe-area-inset-bottom);
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
}